/* 系统设置组件样式 */

.settings {
  max-width: 1000px;
  margin: 0 auto;
}

.settings-header {
  margin-bottom: 24px;
}

.settings-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #262626;
}

.settings-content :deep(.n-card) {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.setting-desc {
  margin-left: 12px;
  font-size: 14px;
  color: #8c8c8c;
}

.color-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-item {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.color-item:hover {
  transform: scale(1.1);
}

.color-item.active {
  border-color: #d9d9d9;
  transform: scale(1.1);
}

.settings-content :deep(.n-form-item) {
  margin-bottom: 24px;
}

.settings-content :deep(.n-form-item:last-child) {
  margin-bottom: 0;
}

.settings-content :deep(.n-checkbox) {
  margin-bottom: 8px;
}

.settings-content :deep(.n-radio) {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .color-picker {
    justify-content: flex-start;
  }
  
  .color-item {
    width: 28px;
    height: 28px;
  }
}
